package dtos;

import java.io.Serializable;
import java.util.Date;

public class ResticketDTO extends TicketDTO implements Serializable {
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + id;
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		ResticketDTO other = (ResticketDTO) obj;
		if (id != other.id)
			return false;
		return true;
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 6419939358946771973L;
	private int id;
	private Date date;
	private String description;
	private String status;
	private int idResponse;
	private int idUser;

	private int quantity;
	
	private int itMeasureunit;
	
	private int idResource;
	
	private int idTicket;

	public int getQuantity() {
		return quantity;
	}

	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}

	

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public int getIdResponse() {
		return idResponse;
	}

	public void setIdResponse(int idResponse) {
		this.idResponse = idResponse;
	}

	public int getIdUser() {
		return idUser;
	}

	public void setIdUser(int idUser) {
		this.idUser = idUser;
	}

	public int getItMeasureunit() {
		return itMeasureunit;
	}

	public void setItMeasureunit(int itMeasureunit) {
		this.itMeasureunit = itMeasureunit;
	}

	public int getIdResource() {
		return idResource;
	}

	public void setIdResource(int idResource) {
		this.idResource = idResource;
	}

	public int getIdTicket() {
		return idTicket;
	}

	public void setIdTicket(int idTicket) {
		this.idTicket = idTicket;
	}
	
}
